﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ISmart
{
    /// <summary>
    /// 配置类
    /// </summary>
    public class Config
    {
        //API调用地址
        public const string ApiUrl = "http://localhost:26157/";
        //初始当前页
        public const int InitCurrentPage = 1;
        //初始页面尺寸
        public const int InitPageSize = 30;
    }


    /// <summary>
    /// Wee布尔类型
    /// </summary>
    public enum WeeBool
    {
        False = 0,
        True = 1,
        Null = 2
    }


    /// <summary>
    /// 键值对
    /// </summary>
    public struct KeyValue
    {
        public string Key;
        public string Value;

        public KeyValue(string key, string value)
        {
            Key = key;
            Value = value;
        }
    }


    /// <summary>
    /// Http请求方式
    /// </summary>
    public enum HttpMethod
    {
        POST,
        GET
    }
}
